-- GENERATED SPELL FOR [High-Oracle Soo-say] --


function spell0_28027(pUnit, Event) --@Thunderstorm,Self--
pUnit:FullCastSpellOnTarget(53071,pUnit)
pUnit:RegisterEvent('Sorts_28027', 515, 1)
end

function Sorts_28027(pUnit, Event)
local choix_sorts_28027 = math.random(0, 0)
if choix_sorts_28027 == 0 then
pUnit:RegisterEvent('spell0_28027', 1, 1)
end
end

function mob28027_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28027', math.random(1500, 3000), 1)
end

function mob28027_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28027_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28027_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28027, 1, 'mob28027_Action')
RegisterUnitEvent(28027, 2, 'mob28027_Leave')
RegisterUnitEvent(28027, 3, 'mob28027_Kill')
RegisterUnitEvent(28027, 4, 'mob28027_Die')
